package com.prelearning.at_springboot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgr
 * @since 2022-04-28
 */
@Getter
@Setter
  @TableName("chat_info")
@ApiModel(value = "ChatInfo对象", description = "")
public class ChatInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "chat_id")
      @ApiModelProperty("群聊id")
        private String chatId;

      @ApiModelProperty("群聊名称")
      private String chatName;

      @ApiModelProperty("群主id")
      private String ownerId;

      @ApiModelProperty("成员列表")
      private String userList;

      @ApiModelProperty("创建时间")
      private LocalDateTime creatTime;


}
